package com.asc.mywriter.mapper;

import com.asc.mywriter.bean.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {
    @Select("select * from user where user_name=#{userName} and pass_word=#{passWord}")
    public User findUser(@Param("userName") String userName, @Param("passWord") String passWord);

}
